package edu.rpi.cs.android;

import java.util.*;

public class Account	{

	public String title;
	private String bank;
	private double startingBalance;
	private double currentBalance;
//	private ArrayList<Transaction> transactions = new ArrayList<Transaction>();
	public ArrayList<String> dispTransactions = new ArrayList<String>();
	private String website;
	private String tele;
	private String websearch;
	
	public Account(String t)	{
		title = t;
		bank = "HSBC";
		startingBalance = 0;
		currentBalance = 0;
		dispTransactions.add("Null");
		website = "http://www.hsbc.com";
		tele = "+180045571399";
		websearch = "maps.google.com";		
	}
	
	public Account(String t, String b, double bal)
	{
		title = t;
		bank = b;
		startingBalance = bal;
		currentBalance = bal;
		dispTransactions.add("Null");
		website="";
		tele = "";
		websearch = "";
	}
	
	public String getTitle()
	{
		return title;
	}
	
	public void setTitle(String t)
	{
		title=t;
	}
	
	public String getBank()
	{
		return bank;
	}
	
	public void stBank(String b)
	{
		bank=b;
	}
	
	public double getStartBal()
	{
		return startingBalance;
	}
	
	public void setStartBal(double start)
	{
		startingBalance = start;
	}
	
	public double getBalance()
	{
		return currentBalance;
	}
	
	public void setBalance(double bal)
	{
		currentBalance = bal;
	}
	
	public String getWebsite()
	{
		return website;
	}
	
	public void setWebsite(String web)
	{
		website=web;
	}
	
	public String getTeleNum()
	{
		return tele;
	}
	
	public void setTele(String tel)
	{
		tele=tel;
	}
}